package com.kmgames.ballsengine.rendering;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.graphics.GL10;

public abstract class Renderer {
	public void prerender() {
		Gdx.gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
		Gdx.gl.glEnable(GL10.GL_DEPTH_TEST);
	}

	public abstract void render(Renderable renderable);

	public abstract void setCamera(Camera camera);
}
